<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="header.jsp"%>

<script type="text/javascript">
    function closeTip(){
        console.log("---closeTip----------");
        $("#closeTip").show();
        $("#openTip").hide();
    }
    function openTip(){
        console.log("");
        $("#closeTip").hide();
        $("#openTip").show();
    }
    function doSubmit(decision) {
        $('#ipCheckDecison').val(decision);
        $('#illegalIpRequestForm').submit();
    }
</script>

<div class="container">
    <div class="grid-960">
        <!-- 支付订单详情 -->
        <jsp:include page="../content/orderDtl.jsp" flush="true"/>
        <div class="payment-mode">
            <div class="borderBox-3 posiRelative fix">
                <div class="danger-info">
                    <span class="font16">尊敬的客户：</span>
                    <p>为保障您的资金安全，请仔细核对以下订单信息，并确定是否继续支付，如已确认无误，请点击“继续支付”完成本次交易，如发现交易信息有误，请点击"终止交易".</p>
                    <table class="table-tml-5">
                        <tbody>
                        <tr>
                            <th>商户网站：</th>
                            <td>${merRefer}</td>
                        </tr>
                        <tr>
                            <th>商品名称：</th>
                            <td>${goodsInfo}</td>
                        </tr>
                        <tr>
                            <th>支付提供商：</th>
                            <td>国付宝</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div id="closeTip">
                    <label class="tips-11" style="cursor: pointer;" onclick="openTip();">支付安全小贴士</label>
                </div>
                <div class="danger-tips" id="openTip" style="display: none">
                    <ul>
                        <li>1、切勿轻信陌生短信、登录非法网站、<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;透露银行卡等信息。</li>
                        <li>2、不要轻易点击不明链接进行购买和支付。</li>
                        <li>3、尽可能不要在公共场所（如网吧）<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;使用网上银行支付。</li>
                        <li>4、保存好银行发送的动态密码短信内容，<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;不要向任何人透露。。</li>
                        <li>5、电脑上安装防火墙与杀毒软件，<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;并定期更新，防范病毒侵害。</li>
                        <li>6、提高警惕，谨防钓鱼网站，防止欺诈受骗。</li>
                    </ul>
                    <img src="${ctx}/static/00100/images/close_2.png" class="close-2" onclick="closeTip();"/>
                </div>
            </div>
            <div class="set-language-2">
                <button type="button" class="btn-2 marginTop20 marginLeft170" onclick="doSubmit('y');">继续支付</button>
                <button type="button" class="btn-2 marginTop20 marginLeft170" onclick="doSubmit('n');">终止交易</button>
            </div>
            <form action="${ctx}/pay/info.shtml?orderKey=<%=request.getParameter("orderKey")%>&orderId=${orderId}" method="post" id="illegalIpRequestForm">
                <input type="hidden" name="orderId" value="${orderId}"/>
                <input type="hidden" name="orderKey" id="orderKey" value="<%=request.getParameter("orderKey")%>"/>
                <input type="hidden" name="formhash" value="${formhash}"/>
                <input type="hidden" name="inc" value="${inc}"/>
                <input type="hidden" name="ipCheckDecison" id="ipCheckDecison" />
            </form>
        </div>
    </div>
</div>

<%@include file="footer.jsp"%>